﻿@using HiLand.Utility4.MVC.Controls
@using HiLand.Framework.BusinessCore
@{
    Layout = null;
    MvcControlUsingModes usingMode = (this.ViewContext.Controller as GBFinance.Web.Controllers.SecuredController).GetUsingMode();
    bool isPopLayer = (this.ViewContext.Controller as GBFinance.Web.Controllers.SecuredController).CheckIsPopLayer();
    int usingModeInt = (int)usingMode;
}
<div id="itemDetailsDIV"></div>
<div id="itemListDIV"></div>

<script type="text/javascript">
    $(document).ready(function () {
        $("#itemListDIV").load('@Url.Action("ULiabilityStatementList", new { usingMode = usingModeInt,isPopLayer = isPopLayer })');
        $("#itemDetailsDIV").load('@Url.Action("ULiabilityStatementDetails", new { usingMode = usingModeInt,isPopLayer = isPopLayer })');
    });
</script>
